package io.renren.modules.sp.dto;

import io.renren.modules.sp.entity.SpTeamEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

/**
* 用户
*
* @author whc 15953295779@126.com
* @since 3.0 2023-04-21
*/
@Data
@ApiModel(value = "用户")
public class SpUserDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;
    @ApiModelProperty(value = "账号")
    private String account;
    @ApiModelProperty(value = "电话")
    private String phone;
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "实名")
    private String realName;
    @ApiModelProperty(value = "身份类型")
    private String idType;
    @ApiModelProperty(value = "身份证号")
    private String idCard;
    @ApiModelProperty(value = "性别")
    private Integer sex;
    @ApiModelProperty(value = "公司/学校")
    private String company;
    private String address;
    @ApiModelProperty(value = "一寸照片")
    private String header;

    private String empower;
    @ApiModelProperty(value = "创建时间")
    private Date createAt;
    @ApiModelProperty(value = "修改时间")
    private Date updateAt;
    /**
     * token
     * */
    private String token;
    /**
     * 省份编码
     * */
    private String province;
    /**
     * 城市编码
     * */
    private String city;

    /**
     * 区县编码
     * */
    private String countyCode;

    /**
     * 登录队id
     * */
    private Long teamId;
    /**
     * 角色
     * @dict * 0负责人 1领队 2老师 3选手
     * */
    private String  roleId;

    /**
     * 指导老师
     * */
    private String teachers;

    private String verificationCode;

    private String url;

    private Map<String,Object> spTeamEntity;

    /**
     * 是否是主领队 1是 0否
     */
    private Integer isMainLeader;

    /**
     * 登录类型
     * pc wap
     */
    private String loginType;

    // 代表队名称
    private String teamName;

    // 领队
    private String teamLeader;
    // 代表队单位
    private String teamCompany;
    // 代表队负责人电话
    private String teamLeaderPhone;


}
